package com.cskaoyan.day30.work1._02factory._02actorymethod;

import com.cskaoyan.day30.work1._02factory._00bean.Animal;
import com.cskaoyan.day30.work1._02factory._00bean.Pig;

public class PigFactory implements IAnimalFactory{
    @Override
    public Animal create() {
        return new Pig();
    }
}
